package com.github.florent37.shapeofview.manager;


import ohos.agp.render.Paint;
import ohos.agp.render.Path;

/**
 * ClipManager
 *
 * @since 2021-07-26
 */
public interface ClipManager {
    /**
     * createMask
     *
     * @param width width
     * @param height height
     * @return Path
     */
    Path createMask(int width, int height);

    /**
     * getShadowConvexPath
     *
     * @return Path
     */
    Path getShadowConvexPath();

    /**
     * setupClipLayout
     *
     * @param width width
     * @param height height
     */
    void setupClipLayout(int width, int height);

    /**
     * getPaint
     *
     * @return Paint
     */
    Paint getPaint();

    /**
     * requiresBitmap
     *
     * @return boolean
     */
    boolean requiresBitmap();
}
